<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
	<%@ include file="/common/jsp/page.jsp" %>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>管理员列表</title>
</head>
<body>
	<table border="1" width="80%">
		<thead>
			<tr>
				<td>index</td>
				<td>roleName</td>
				<td>email</td>
				<td>trueName</td>
				<td>phone</td>
				<td>qq</td>
				<td>status</td>
				<td>createDate</td>
				<td>updateDate</td>
				<td>lastLoginDate</td>
				<td>操作</td>
			</tr>
		</thead>
		<tbody>
		<c:forEach items="${requestScope.adminList }" var="list" varStatus="sta">
			<tr style="background:${sta.count % 2 == 0 ? 'yellow' : ''}">
				<td>${sta.count }</td>
				<td>${list.role.name }</td>
				<td>${list.email }</td>
				<td>${list.trueName }</td>
				<td>${list.phone }</td>
				<td>${list.qq }</td>
				<td>${list.status }</td>
				<td>${list.createDate }</td>
				<td>${list.updateDate }</td>
				<td>${list.lastLoginDate }</td>
				<td><a target="navTab" rel="adminUpdate" href="${rootpath }/admin_adminUpdate.htm?id=${list.id}">更新</a></td>
			</tr>
		</c:forEach> 
		</tbody>
	</table>
</body>
</html>